package com.navigation.action;

import java.util.Map;

import com.navigation.action.base.BaseAction;
import com.opensymphony.xwork2.ActionContext;


public class DeleteSiteAction extends BaseAction{
	private Integer id;
	private String name;
	private String url;
	private String alexa;
	
	@Override
	public String execute() throws Exception {
		Map session=ActionContext.getContext().getSession();
		siteManager.delete(getId());
		return "success";
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getAlexa() {
		return alexa;
	}
	public void setAlexa(String alexa) {
		this.alexa = alexa;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
}
